package com.kuang.scanner;

import java.util.Scanner;

public class Demo07 {
    public static void main(String[] args) {

        char grade = 'c';
        switch (grade){
            case 'A':
                System.out.println("优秀");
                break;
            case 'b':
                System.out.println("良好");
                break;
            case 'c':
                System.out.println("及格");
                break;
            default:
                System.out.println("未知等级");
        }

    }
}
